#include "Request.h"
#include <mysql/mysql.h>

extern MYSQL*	g_mysql;

#include "Test.h"
#include "LoginHandler.h"
#include "PwdHandler.h"
#include "GroupHandler.h"
#include "DeleteGroupHandler.h"
#include "AddGroupHandler.h"
#include "UsersHandler.h"
#include "AddUserHandler.h"
#include "DeleteUserHandler.h"
#include "ClearUserHandler.h"
#include "EmailHandler.h"
#include "ModifyEmailHandler.h"
#include "AddEmailHandler.h"
#include "DeleteEmailHandler.h"


BEGIN_REQUEST_HANDLER()
	REQUEST("test", Test)
	REQUEST("login", LoginHandler)
	REQUEST("pwd", PwdHandler)
	REQUEST("group", GroupHandler)
	REQUEST("deletegroup", DeleteGroupHandler)
	REQUEST("addgroup", AddGroupHandler)
	REQUEST("users", UsersHandler)
	REQUEST("adduser", AddUserHandler)
	REQUEST("deleteuser", DeleteUserHandler)
	REQUEST("clearuser", ClearUserHandler)
	REQUEST("email", EmailHandler)
	REQUEST("modifyemail", ModifyEmailHandler)
	REQUEST("addemail", AddEmailHandler)
	REQUEST("deleteemail", DeleteEmailHandler)
END_REQUEST_HANDLER()


